package cn.ffcs.bpm.model;


import cn.ffcs.base.model.BaseEntity;
import cn.ffcs.organ.model.Person;
import cn.ffcs.security.model.User;

/**
 * 实体类：定义基本属性<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">g.pany</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:2009-4-20</td>
 * <td>修改人:g.pany</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author g.pany
 * @version $Id$
 */

public class Transactor extends BaseEntity
{

    /** 用户ID**/
    private Person userId;

    /** 办理类型:
     * pri:主办
     * coop:协办
     * reader:阅办
     **/
    private String tranType;

    /** 当前步骤**/
    private TransactProcessStatus currProcess;
    
    private ProcessConfigDetail processConfigDetail;

    /** default constructor */
    public Transactor() {
    }

    /** minimal constructor */
    public Transactor(int id) {
        this.id = id;
    }

    public Person getUserId()
    {
        return userId;
    }

    public void setUserId(Person userId)
    {
        this.userId = userId;
    }

    public TransactProcessStatus getCurrProcess()
    {
        return currProcess;
    }

    public void setCurrProcess(TransactProcessStatus currProcess)
    {
        this.currProcess = currProcess;
    }

    public String getTranType()
    {
        return tranType;
    }

    public void setTranType(String tranType)
    {
        this.tranType = tranType;
    }
    public ProcessConfigDetail getProcessConfigDetail()
    {
        return processConfigDetail;
    }

    public void setProcessConfigDetail(ProcessConfigDetail processConfigDetail)
    {
        this.processConfigDetail = processConfigDetail;
    }


}
